package com.atxiaodei.springbootwebthymeleaf.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName HelloController
 * @Deacription TODO
 * @Author 王盟
 * @Date 2021/3/29 15:29
 * @Version 1.0
 **/
@Controller
public class HelloController {

    @RequestMapping("/index")
    public String toThymeleaf(){
        return  "index";
    }

}
